package sh.wnxy.wn38.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import sh.wnxy.wn38.entity.Img;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author wn38
 * @since 2021-07-14
 */


public interface ImgMapper extends BaseMapper<Img> {

    @Select("select * from img where img_spotid=#{id} ")
    List<Img> listImgBySpotId(@Param("id") Integer id);

}
